import {playMode} from 'common/js/config'
import {loadSearch} from 'common/js/cache'

// 传递数据 对象
const state = {
  singer: {},
  playing: false,
  // 显示隐藏
  fullScreen: false,
  // 播放列表
  playlist: [],
  // 顺序列表
  sequenceList: [],
  // 播放模式 顺序播放
  mode: playMode.sequence,
  currentIndex: -1,
  disc: {},
  topList: {},
  searchHistory: loadSearch()
}
// 传递出去
export default state
